package work.mediway.mdm.biz.entity.patient;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import work.mediway.mdm.core.vo.BaseVO;

/**
 * 权重配置表
 *
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2020/12/21
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "权重配置表")
@Data
@TableName(value = "mdm_User.PatientConfig")
public class PatientConfig extends BaseVO {
    /**
     * 权重信息项代码
     */
    @TableId(value = "IndexCode", type = IdType.INPUT)
    @NotBlank(message = "权重信息项代码不能为空")
    @ApiModelProperty(value = "权重信息项代码")
    private String indexCode;

    /**
     * 权重信息项描述
     */
    @TableField(value = "IndexName")
    @ApiModelProperty(value = "权重信息项描述")
    private String indexName;

    /**
     * 对比优先级
     */
    @TableField(value = "IndexOrder")
    @ApiModelProperty(value = "对比优先级(查询时此参数无效)")
    private String indexOrder;

    /**
     * 权重
     */
    @TableField(value = "Indexweight")
    @ApiModelProperty(value = "权重(查询时此参数无效)")
    private String indexWeight;
}